package com.qfedu.controller.controller;


import com.qfedu.commons.bean.Bankcard;
import com.qfedu.commons.serviceApi.BankcardService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 银行卡 前端控制器
 * </p>
 *
 * @author No.1
 * @since 2022-07-04
 */
@RestController
@RequestMapping("/money")
public class BankcardController {

    @Reference
    private BankcardService bankcardService;

    @RequestMapping("/www/{id}")
    public Bankcard findById(@PathVariable("id") Integer id){
        return bankcardService.findById(id);
    }

}

